﻿using System;
using System.Collections.Generic;
using System.Text;

namespace IceDog.DNL.CSharp.Model
{
    public class City
    {
        public City()
        {
            CityId = 1;
            CityName = "重庆";
            Country = "中国";
        }

        /// <summary>Initializes a new instance of the <see cref="T:System.Object"></see> class.</summary>
        public City(int cityId, string cityName, string country)
        {
            CityId = cityId;
            CityName = cityName;
            Country = country;
        }

        public int CityId { get; set; }
        public string CityName { get; set; }
        public string Country { get; set; }

        public static City Create(int cityId, string cityName, string country)
        {
            return new City(cityId, cityName, country);
        }
        public static City Create()
        {
            return new City();
        }
    }
}
